// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:57

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   jj.java

package com.zelix;

import java.io.*;
import java.util.Vector;

// Referenced classes of package com.zelix:
//            gj, tb, zo, gk, 
//            nh, oh, pb, vh, 
//            mb, zu, si

public class jj extends gj
{

    private static String z[];

    public jj(int i)
    {
        super(i);
    }

    public static String a(Vector vector, int i)
    {
        int j;
        String s;
        StringBuffer stringbuffer;
        int k;
        int l;
        l = si.g;
        j = vector.size();
        if(j <= 0)
            break MISSING_BLOCK_LABEL_192;
        s = zu.a("", 'L', i, ' ');
        stringbuffer = new StringBuffer(100);
        stringbuffer.append(zo.e + zu.a(z[2], 'L', i, ' '));
        k = 0;
        if(l == 0) goto _L2; else goto _L1
_L1:
        Object obj = vector.elementAt(k);
        if(k > 0)
            stringbuffer.append(s);
        stringbuffer.append(obj.toString());
        if(k < j - 1)
        {
            stringbuffer.append(z[1] + zo.e);
            if(l == 0)
                continue; /* Loop/switch isn't completed */
        }
        stringbuffer.append(";" + zo.e);
        k++;
_L2:
        if(k < j) goto _L1; else goto _L3
_L3:
        return stringbuffer.toString();
        return null;
    }

    protected void a(nh nh1, int i, int j)
    {
        nh1.a(this);
    }

    public String a()
    {
        return z[2];
    }

    public static gj a(String s, nh nh1)
        throws tb
    {
        BufferedReader bufferedreader = new BufferedReader(new StringReader(s));
        try
        {
            oh oh1 = new oh(bufferedreader);
            vh vh1 = oh1.y();
            vh1.a(null, nh1);
            gj gj1 = ((gk)vh1).a();
            return gj1;
        }
        catch(pb pb1)
        {
            throw new tb(pb1.toString());
        }
        catch(mb mb1)
        {
            throw new tb(mb1.toString());
        }
    }

    protected void a(nh nh1)
    {
        PrintWriter printwriter = nh1.n();
        String s = vh.e() + z[0];
        printwriter.println(s);
        System.out.println(s);
    }

    private static String dsse(char ac[]) {
        for (int i = 0; i < ac.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x1b;
                    break;
                case 1:
                    key =61;
                    break;
                case 2:
                    key =46;
                    break;
                case 3:
                    key =3;
                    break;
                default:
                    key =50;
                    break;
            }
            ac[i] ^= key;
        }
        return new String(ac).intern();
    }

    static 
    {
        String as[];
        as = new String[3];
        as[0] = ";nKwFrSI#Wc^BvArR@p\0345\023";
        as[1] = ";\\@g";
        as[2] = "~EMoG\177X";
        for (int i = 0; i < as.length; i++) {
            as[i] = dsse(as[i].toCharArray());
        }
        z = as;
    }
}